﻿using SmartWMS.Common.ResponseOutput;
using SmartWMS.Domain.FinanceManage;
using SmartWMS.Server.FinanceManage.ReceivablesServices.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartWMS.Server.FinanceManage.ReceivablesServices
{
    /// <summary>
    /// 应收管理接口
    /// </summary>
    public interface IReceivablesServices:ITransientServer
    {

        /// <summary>
        /// 财务应收信息
        /// </summary>
        Task<Response<List<CollectionDto>>> GetCustomList(Selcollection input);

        /// <summary>
        /// 财务类别下拉框
        /// </summary>
        Task<Response<List<PayType>>> GetCustom();

        /// <summary>
        /// 应收金额信息添加
        /// </summary>
        Task<Response<bool>> AddCollection(Collection info);

        /// <summary>
        /// 批量删除
        /// </summary>
        Task<Response<bool>> BatchDelSuppiler(CollectionDto info);

        /// <summary>
        /// 删除
        /// </summary>
        Task<Response<bool>> DelSuppiler(CollectionDto info);

        /// <summary>
        /// 反填应收金额信息
        /// </summary>
        Task<Response<CollectionDto>> GetSupplierById(CollectionDto info);

        /// <summary>
        /// 修改应收金额信息
        /// </summary>
        Task<Response<bool>> UpdateSuppiler(CollectionDto info);

        /// <summary>
        /// 审核
        /// </summary>
        Task<Response<bool>> Updatestate(CollectionDto info);

        /// <summary>
        /// 付款
        /// </summary>
        Task<Response<bool>> Updpayment(CollectionDto info);
    }
}
